home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 20
/
64er_Magazin_Sonderheft_20_19xx_Markt__Technik_de_Side_A.d64
/
listing 6
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
434b
|
16 lines
5 base=2*4096:poke 53272,peek(53272) or 8 :rem bitmap ab 8192
10 poke 53265,peek(53265) or 32:rem bitmapmodus einschalten
20 for i=base to base+7999:poke i,0:next:rem bitmap loeschen
30 for i=1024 to 2023:poke i,3:next:rem farben auf cyan und schwarz
50 for x=0 to 319 step .5:rem funktion fuellt bildschirm
60 y=int(90+80*sin(x/10))
70 ch=int(x/8)
80 ro=int(y/8)
85 ln=y and 7
90 by=base+ro*320+8*ch+ln
100 bi=7-(x and 7)
110 poke by,peek(by) or (2^bi)
120 next x
125 poke 1024,16
130 goto 130